package com.gigi.mapper.manual;

import com.gigi.model.CollectDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CollectManualMapper {

    List<CollectDO> list(@Param("favoriteId") Long favoriteId, @Param("userId") Long userId,
                         @Param("startIndex") Integer startIndex,
                         @Param("pageSize") Integer pageSize);

    int listCount(@Param("favoriteId") Long favoriteId, @Param("userId") Long userId);

}
